﻿using BCCommon.Enums;
using System;
using System.Collections.Generic;
using System.Text;

namespace BCDto.WebSocketComponent
{
    /// <summary>
    /// WebSocket回应模型
    /// </summary>
    public class WebSocketResponseDto
    {
        /// <summary>
        /// 发送者
        /// </summary>
        public string FromUser { get; set; }
        /// <summary>
        /// 接收者
        /// </summary>
        public string ToUser { get; set; }
        /// <summary>
        /// WebSocket回应业务类型
        /// </summary>
        public ChatType ChatType { get; set; }
        /// <summary>
        /// 沟通操作类型
        /// </summary>
        public ChatOperationType? ChatOperationType { get; set; }
        /// <summary>
        /// 内容字符串
        /// </summary>
        public string ContentString { get; set; }
        /// <summary>
        /// 错误编码
        /// </summary>
        public string ErrorCode { get; set; }
        /// <summary>
        /// 错误信息
        /// </summary>
        public string ErrorMessage { get; set; }
    }
}
